package com.cn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cn.api.ApiResult;
import com.cn.pojo.shop.ShopCommodity;
import com.cn.pojo.vo.ShopCommodityVo;

/**
* @author 28631
* @description 针对表【shop_commodity(商品表)】的数据库操作Service
* @createDate 2024-02-29 15:12:20
*/
public interface ShopCommodityService extends IService<ShopCommodity> {

    ApiResult queryCommodity();

    ApiResult updateCommodity(ShopCommodity shopCommodity,Integer id);

    ApiResult deleteCommodity(Integer id);

    ApiResult addCommodity(ShopCommodityVo shopCommodity);

    ApiResult selectCommodity();
}
